home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _4AAB4001469840A983C3C36D7F9C947C < prev    next >
Encoding:
Text File  |  2004-01-06  |  1.1 KB  |  40 lines

  1. ; Shaders Script file
  2. ; Copyright (c) 2001-2003 Crytek Studios. All Rights Reserved.
  3. ; Author: Honich Andrey
  4.  
  5. Version (1.00)
  6.  
  7. //========================================================================
  8. // ATI R2xx / NVidia NV2X (PS.1.X and above)
  9.  
  10. // Specular and diffuse bump-mapping
  11. // At least three passes on NVidia NV2X for single-multiple light sources
  12. // One pass on ATI R3XX and NVidia NV3X for single light source (one pass for each additional LS)
  13. // One pass for single directional light source
  14.  
  15. // Supports:
  16. // 1. Dot3 light maps
  17. // 2. Simple light maps
  18. // 3. Three types of shadow maps (2D, Depth-maps and mixed Depth/2D)
  19. // 4. Stencil shadows
  20. // 5. Three types of light sources (Directional, Point/Omni, Projected)
  21. // 6. Optimised separate techniques for Single/Multiple light sources
  22. // 7. Optimised separate techniques for PS.2.0 shaders support (to reduce number of passes)
  23.  
  24. Shader 'TemplBumpSpec_EnvCMAmb'
  25. (
  26.   Params
  27.   (
  28.     Sort = Opaque
  29.   )
  30.   Public
  31.   (
  32.     float 'ReflectAmount' (0.25)
  33.   )
  34.  
  35.   #define $ENVCMAP $CubeMap
  36.   #include "BumpSpecular_EnvCM.csi"  
  37.   #undefine $ENVCMAP
  38. )
  39.  
  40.